
import Layout from '@/views/layout/Layout'

const invoice_manage = {
  path: '/invoice_manage',
  component: Layout,
  name: 'invoice_manage',
  meta: { title: '开票管理', roles: ['1', '17', '18', '16', '19', '15'], icon: 'kaipiaoshenqing' },
  children: [
    {
      path: 'check',
      name: 'invoice_manage.check',
      component: () => import('@/views/invoice_manage/check/index'),
      meta: { title: '当前开票审核', icon: 'subsystem', fullPath: '/invoice_manage/check' }
    },
    {
      path: 'check_log',
      name: 'invoice_manage.check_log',
      component: () => import('@/views/invoice_manage/check_log/index'),
      meta: { title: '开票审核记录', icon: 'subsystem', fullPath: '/invoice_manage/check_log' }
    },

    {
      path: 'application',
      name: 'invoice_manage.application',
      hidden: true,
      component: () => import('@/views/invoice_manage/check/application'),
      meta: { title: '开票申请', icon: 'subsystem', fullPath: '/invoice_manage/application' }
    },
    {
      path: 'preview',
      name: 'invoice_manage.preview',
      hidden: true,
      component: () => import('@/views/invoice_manage/check/preview'),
      meta: { title: '开票预览', icon: 'subsystem', fullPath: '/invoice_manage/preview' }
    }

  ]
}

export default invoice_manage
